4a35cf6e0beaee401028d366a0396d1e224987e8,src/freenet/clients/http/wizardsteps/BROWSER_WARNING.java,BROWSER_WARNING,getStep,#HTTPRequest#PageHelper#,14
Before Change
HTMLNode contentNode = helper.getPageContent(WizardL10n.l10n("browserWarningPageTitle"));
HTMLNode infobox = contentNode.addChild("div", "class", "infobox infobox-normal");
HTMLNode infoboxHeader = infobox.addChild("div", "class", "infobox-header");
HTMLNode infoboxContent = infobox.addChild("div", "class", "infobox-content");
if(incognito) {
infoboxHeader.addChild("#", WizardL10n.l10n("browserWarningIncognitoShort"));
} else if (isRelativelySafe) {
infoboxHeader.addChild("#", WizardL10n.l10n("browserWarningShortRelativelySafe"));
} else {
infoboxHeader.addChild("#", WizardL10n.l10n("browserWarningShort"));
}
After Change
if(incognito) {
infoBoxHeader = WizardL10n.l10n("browserWarningIncognitoShort");
} else if (isRelativelySafe) {
infoBoxHeader = WizardL10n.l10n("browserWarningShortRelativelySafe");
} else {
infoBoxHeader = WizardL10n.l10n("browserWarningShort");
}
HTMLNode infoboxContent = helper.getInfobox("infobox-normal", infoBoxHeader, contentNode, null, false);
if(isOldFirefox) {
HTMLNode p = infoboxContent.addChild("p");